import request from '@/utils/request'

// 查询自荐卡申请列表
export function listApplicationCard(query) {
  return request({
    url: '/biz/applicationCard/list',
    method: 'get',
    params: query
  })
}

// 查询自荐卡申请详细
export function getApplicationCard(id) {
  return request({
    url: '/biz/applicationCard/' + id,
    method: 'get'
  })
}

// 新增自荐卡申请
export function addApplicationCard(data) {
  return request({
    url: '/biz/applicationCard',
    method: 'post',
    data: data
  })
}

// 修改自荐卡申请
export function updateApplicationCard(data) {
  return request({
    url: '/biz/applicationCard',
    method: 'put',
    data: data
  })
}

// 删除自荐卡申请
export function delApplicationCard(id) {
  return request({
    url: '/biz/applicationCard/' + id,
    method: 'delete'
  })
}
